package com.tanjun.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;


@Getter
@AllArgsConstructor
public enum EnableStatusEnum  {
    YES(1), //可用
    NO(0) //不可用
    ;
    @JsonValue
    @EnumValue
    private Integer status;


    public Integer getValue() {
        return this.status;
    }
}
